prove that the function f given by f(x)=|x−1|